package ooday1.student;

public class student {
    String name;
    int age ;
    String dress;
    String className;
    String stdId;
    boolean gender;
    public student(String name, int age, String dress, String className, String stdId, boolean gender){
        this.name=name;
        this.age=age;
        this.dress=dress;
        this.className=className;
        this.stdId=stdId;
        this.gender=gender;
    }
    public void eat(){
        System.out.println(name+"在吃饭");
    }
    public void Introduceyourself(){
        System.out.println(
                "自我介绍："+"我叫"+name+"今年"+age+"岁了所在班级为"+className+"学号是"+stdId);
    }
    public void drink(){
        System.out.println(name+"喝水");
    }
    public void play(String name){
        System.out.println(this.name+"在和"+name+"玩");
    }


}
